package com.blog.common.constant;

public enum ArticleCategory {
    FRONT_END(1, "前端"),
    BACK_END(2, "后端"),
    DATABASE(3, "数据库");

    private final int code;
    private final String description;

    ArticleCategory(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
